#!/bin/bash

gcc -c start_trace.c
gcc -o start_trace start_trace.o
version=`uname -r`
address=`grep sys_call_table /boot/System.map-$version | grep -v _sys_call_table | awk '{ print $1; }'`
./start_trace $address
